package com.xushi.service;

import com.xushi.model.Template;
import com.xushi.model.UserTemplate;

import java.sql.Timestamp;
import java.util.List;

public interface UserTemplateService {
    UserTemplate createUserTemplate(String username, Template template, Timestamp startTime, Timestamp endTime);

    UserTemplate getUserTemplateById(int userTemplateId);

    void setUserTemplate(int userTemplateId, String title, int playCount, String description, String description2,
                         String weixinQrCodePath);

    List<UserTemplate> getUserTemplateList(String username);

    List<UserTemplate> getUserTemplateListByTemplate(Template template);
}
